package eu.dominicum.ft.pd.mao;

import javax.inject.Named;
import javax.validation.constraints.NotNull;

/**
 * Method Argument Object for method {@link eu.dominicum.ft.pd.Person#make(MakePersonMAO)}.
 *
 * @author Harry Klerks
 * @since 2013M1
 */
@Named
public final class MakePersonMAO {

    /**
     * Name.
     */
    @NotNull(message = "Naam moet een waarde hebben")
    private String name;

    /**
     * Name prefix.
     */
    private String namePrefix;

    /**
     * Nickname.
     */
    private String nickname;

    /**
     * .
     *
     * @return String
     */
    public String getName() {
        return name;
    }

    /**
     * .
     *
     * @param newName -
     */
    public void setName(final String newName) {
        this.name = newName;
    }

    /**
     * .
     *
     * @param newNamePrefix -
     */
    public void setNamePrefix(final String newNamePrefix) {
        this.namePrefix = newNamePrefix;
    }

    /**
     * .
     *
     * @return String
     */
    public String getNamePrefix() {
        return namePrefix;
    }

    /**
     * .
     *
     * @param newNickname -
     */
    public void setNickname(final String newNickname) {
        this.nickname = newNickname;
    }

    /**
     * .
     *
     * @return String
     */
    public String getNickname() {
        return nickname;
    }
}
